package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 前端账户管理对象 yl_front_account
 * 
 * @author ruoyi
 * @date 2022-02-18
 */
public class YlFrontAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户id */
    private Long accountId;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String accountName;

    /** 账户手机号 */
    @Excel(name = "账户手机号")
    private String accountPhone;

    /** 账户密码 */
    @Excel(name = "账户密码")
    private String accountPassword;

    private String accountCardNumber;

    private BigDecimal cardBalance;

    public BigDecimal getCardBalance() {
        return cardBalance;
    }

    public void setCardBalance(BigDecimal cardBalance) {
        this.cardBalance = cardBalance;
    }

    /** 状态 */
    @Excel(name = "状态")
    private Long status;


    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setAccountPhone(String accountPhone) 
    {
        this.accountPhone = accountPhone;
    }

    public String getAccountPhone() 
    {
        return accountPhone;
    }
    public void setAccountPassword(String accountPassword) 
    {
        this.accountPassword = accountPassword;
    }

    public String getAccountPassword() 
    {
        return accountPassword;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public String getAccountCardNumber() {
        return accountCardNumber;
    }

    public void setAccountCardNumber(String accountCardNumber) {
        this.accountCardNumber = accountCardNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("accountName", getAccountName())
            .append("accountPhone", getAccountPhone())
            .append("accountPassword", getAccountPassword())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("account_card_number",getAccountCardNumber())
            .toString();
    }
}
